package com.qf.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
import java.util.Date;
import java.io.Serializable;

/**
 * (Degassing)实体类
 *
 * @author makejava
 * @since 2023-05-16 14:03:38
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("degassing")
public class Degassing implements Serializable {
    private static final long serialVersionUID = -29048614586866488L;

    @TableId(value = "degassing_id",type = IdType.AUTO)
    private Integer degassingId;
    
    private Integer userId;
    
    private String degassingType;
    
    private String degassingMethod;
    
    private String degassingSubject;
    
    private String degassingDesc;

    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Timestamp degassingDate;

    private Integer degassingDelete;

    @TableField(exist = false)
    private String userName;
}

